package shlib

import (
	"errors"
	"fmt"
)

func ErrNew(msg string) error {
	return errors.New(msg)
}

func ErrNewf(format string, v ...interface{}) error {
	return errors.New(fmt.Sprintf(format, v...))
}
